<script type="text/javascript">
  $(document).ready(function(){
    $('.top-link').click(function(){
      return false;
    });
  });
</script>
<div class="topbar" dir=ltr>
  <div class="wrapper">
    <div id="logo">
      <a href="<?php echo site_url('') ?>" target="_blank"><?php echo $this->setting_model->item('site_name') ?></a>
    </div>
    <nav>
      <ul class="primary-nav">
        <li id="dashboard-link">
          <a href="<?php echo site_url('admin') ?>" class="btn orange current">
            <?php echo $this->lang->line('label.dashboard') ?>
          </a>
        </li>
        <li>
          <a href="#" class="top-link"><?php echo $this->lang->line('label.content') ?></a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/content') ?>" class=""><?php echo $this->lang->line('label.content') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/feedback') ?>" class=""><?php echo $this->lang->line('label.feedback') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/file_upload') ?>" class=""><?php echo $this->lang->line('label.file') ?></a>
            </li>
          </ul>
        </li>        
        <li>
          <a href="#" class="top-link"><?php echo $this->lang->line('label.design') ?></a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/email_template') ?>" class=""><?php echo $this->lang->line('label.email_template') ?></a>
            </li>
          </ul>
        </li>
        <li>
          <a href="<?php echo site_url('admin/promotion')?>"><?php echo $this->lang->line('label.promotion') ?></a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/promotion/create') ?>" class=""><?php echo $this->lang->line('label.add.promotion') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion') ?>" class=""><?php echo $this->lang->line('label.promotion.newest') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion/index/hight_download') ?>" class="">
                <?php echo $this->lang->line('label.promotion.hight_download') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion/index/hight_view') ?>" class="">
                <?php echo $this->lang->line('label.promotion.hight_view') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion/index/hight_rate') ?>" class="">
                <?php echo $this->lang->line('label.promotion.hight_rate') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/category') ?>" class=""><?php echo $this->lang->line('label.category') ?></a>
            </li>
          </ul>
        </li>        
        <li>
          <a href="#" class="top-link">
            <?php echo $this->lang->line('label.statistics') ?>
          </a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/promotion_favorite') ?>"><?php echo $this->lang->line('label.promotion.favorite') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion_view') ?>"><?php echo $this->lang->line('label.promotion.view') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion_download') ?>"><?php echo $this->lang->line('label.promotion.download') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/promotion_rating') ?>"><?php echo $this->lang->line('label.promotion.rating') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/payment_history') ?>"><?php echo $this->lang->line('label.payment_history') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/queue_email') ?>"><?php echo $this->lang->line('label.queue_email') ?></a>
            </li>
          </ul>
        </li>
        <li>
          <a href="<?php echo site_url('admin/user')?>"><?php echo $this->lang->line('label.users') ?></a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/user') ?>" class=""><?php echo $this->lang->line('label.users.manage') ?></a>              
            </li>
            <li>
              <a href="<?php echo site_url('admin/provider_user') ?>" class=""><?php echo $this->lang->line('label.provider') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/end_user') ?>" class=""><?php echo $this->lang->line('label.end_user') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/group') ?>" class=""><?php echo $this->lang->line('label.groups') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/permission') ?>" class=""><?php echo $this->lang->line('label.permission') ?></a>
            </li>
          </ul>
        </li>
        <li>
          <a href="<?php echo site_url('admin/setting')?>"><?php echo $this->lang->line('label.config') ?></a>
          <ul>
            <li>
              <a href="<?php echo site_url('admin/setting') ?>" class="no-submenu">
                <?php echo $this->lang->line('label.settings') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/country') ?>" class="no-submenu">
                <?php echo $this->lang->line('label.countries') ?></a>
            </li>
			<li>
              <a href="<?php echo site_url('admin/state') ?>" class="no-submenu">
                <?php echo $this->lang->line('label.states') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/city') ?>" class="no-submenu">
                <?php echo $this->lang->line('label.cities') ?></a>
            </li>
            <li>
              <a href="<?php echo site_url('admin/currency') ?>" class="no-submenu">
                <?php echo $this->lang->line('label.currencies') ?></a>
            </li>
          </ul>
        </li>
        <li>
          <a href="<?php echo site_url('admin/user/edit_profile') ?>"><?php echo $this->lang->line('label.profile') ?></a>
          <ul>
            <li><a href="<?php echo site_url('admin/user/edit_profile') ?>"><?php echo $this->lang->line('label.edit_profile') ?></a></li>
            <li><a href="<?php echo site_url('admin/logout') ?>"><?php echo $this->lang->line('label.logout') ?></a></li>
          </ul>
        </li>
      </ul>
    </nav>
  </div>
</div>